package com.hospital.diagnose.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MedicalRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MedicalRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdIsNull() {
            addCriterion("mdc_rec_pat_id is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdIsNotNull() {
            addCriterion("mdc_rec_pat_id is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdEqualTo(Integer value) {
            addCriterion("mdc_rec_pat_id =", value, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdNotEqualTo(Integer value) {
            addCriterion("mdc_rec_pat_id <>", value, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdGreaterThan(Integer value) {
            addCriterion("mdc_rec_pat_id >", value, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mdc_rec_pat_id >=", value, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdLessThan(Integer value) {
            addCriterion("mdc_rec_pat_id <", value, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdLessThanOrEqualTo(Integer value) {
            addCriterion("mdc_rec_pat_id <=", value, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdIn(List<Integer> values) {
            addCriterion("mdc_rec_pat_id in", values, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdNotIn(List<Integer> values) {
            addCriterion("mdc_rec_pat_id not in", values, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdBetween(Integer value1, Integer value2) {
            addCriterion("mdc_rec_pat_id between", value1, value2, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mdc_rec_pat_id not between", value1, value2, "mdcRecPatId");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateIsNull() {
            addCriterion("mdc_rec_create_date is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateIsNotNull() {
            addCriterion("mdc_rec_create_date is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateEqualTo(Date value) {
            addCriterion("mdc_rec_create_date =", value, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateNotEqualTo(Date value) {
            addCriterion("mdc_rec_create_date <>", value, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateGreaterThan(Date value) {
            addCriterion("mdc_rec_create_date >", value, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("mdc_rec_create_date >=", value, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateLessThan(Date value) {
            addCriterion("mdc_rec_create_date <", value, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("mdc_rec_create_date <=", value, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateIn(List<Date> values) {
            addCriterion("mdc_rec_create_date in", values, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateNotIn(List<Date> values) {
            addCriterion("mdc_rec_create_date not in", values, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateBetween(Date value1, Date value2) {
            addCriterion("mdc_rec_create_date between", value1, value2, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("mdc_rec_create_date not between", value1, value2, "mdcRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionIsNull() {
            addCriterion("mdc_rec_pat_description is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionIsNotNull() {
            addCriterion("mdc_rec_pat_description is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionEqualTo(String value) {
            addCriterion("mdc_rec_pat_description =", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionNotEqualTo(String value) {
            addCriterion("mdc_rec_pat_description <>", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionGreaterThan(String value) {
            addCriterion("mdc_rec_pat_description >", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("mdc_rec_pat_description >=", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionLessThan(String value) {
            addCriterion("mdc_rec_pat_description <", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionLessThanOrEqualTo(String value) {
            addCriterion("mdc_rec_pat_description <=", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionLike(String value) {
            addCriterion("mdc_rec_pat_description like", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionNotLike(String value) {
            addCriterion("mdc_rec_pat_description not like", value, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionIn(List<String> values) {
            addCriterion("mdc_rec_pat_description in", values, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionNotIn(List<String> values) {
            addCriterion("mdc_rec_pat_description not in", values, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionBetween(String value1, String value2) {
            addCriterion("mdc_rec_pat_description between", value1, value2, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecPatDescriptionNotBetween(String value1, String value2) {
            addCriterion("mdc_rec_pat_description not between", value1, value2, "mdcRecPatDescription");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointIsNull() {
            addCriterion("mdc_rec_checkpoint is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointIsNotNull() {
            addCriterion("mdc_rec_checkpoint is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointEqualTo(String value) {
            addCriterion("mdc_rec_checkpoint =", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointNotEqualTo(String value) {
            addCriterion("mdc_rec_checkpoint <>", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointGreaterThan(String value) {
            addCriterion("mdc_rec_checkpoint >", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointGreaterThanOrEqualTo(String value) {
            addCriterion("mdc_rec_checkpoint >=", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointLessThan(String value) {
            addCriterion("mdc_rec_checkpoint <", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointLessThanOrEqualTo(String value) {
            addCriterion("mdc_rec_checkpoint <=", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointLike(String value) {
            addCriterion("mdc_rec_checkpoint like", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointNotLike(String value) {
            addCriterion("mdc_rec_checkpoint not like", value, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointIn(List<String> values) {
            addCriterion("mdc_rec_checkpoint in", values, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointNotIn(List<String> values) {
            addCriterion("mdc_rec_checkpoint not in", values, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointBetween(String value1, String value2) {
            addCriterion("mdc_rec_checkpoint between", value1, value2, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecCheckpointNotBetween(String value1, String value2) {
            addCriterion("mdc_rec_checkpoint not between", value1, value2, "mdcRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultIsNull() {
            addCriterion("mdc_rec_result is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultIsNotNull() {
            addCriterion("mdc_rec_result is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultEqualTo(String value) {
            addCriterion("mdc_rec_result =", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultNotEqualTo(String value) {
            addCriterion("mdc_rec_result <>", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultGreaterThan(String value) {
            addCriterion("mdc_rec_result >", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultGreaterThanOrEqualTo(String value) {
            addCriterion("mdc_rec_result >=", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultLessThan(String value) {
            addCriterion("mdc_rec_result <", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultLessThanOrEqualTo(String value) {
            addCriterion("mdc_rec_result <=", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultLike(String value) {
            addCriterion("mdc_rec_result like", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultNotLike(String value) {
            addCriterion("mdc_rec_result not like", value, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultIn(List<String> values) {
            addCriterion("mdc_rec_result in", values, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultNotIn(List<String> values) {
            addCriterion("mdc_rec_result not in", values, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultBetween(String value1, String value2) {
            addCriterion("mdc_rec_result between", value1, value2, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecResultNotBetween(String value1, String value2) {
            addCriterion("mdc_rec_result not between", value1, value2, "mdcRecResult");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceIsNull() {
            addCriterion("mdc_rec_advice is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceIsNotNull() {
            addCriterion("mdc_rec_advice is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceEqualTo(String value) {
            addCriterion("mdc_rec_advice =", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceNotEqualTo(String value) {
            addCriterion("mdc_rec_advice <>", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceGreaterThan(String value) {
            addCriterion("mdc_rec_advice >", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceGreaterThanOrEqualTo(String value) {
            addCriterion("mdc_rec_advice >=", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceLessThan(String value) {
            addCriterion("mdc_rec_advice <", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceLessThanOrEqualTo(String value) {
            addCriterion("mdc_rec_advice <=", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceLike(String value) {
            addCriterion("mdc_rec_advice like", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceNotLike(String value) {
            addCriterion("mdc_rec_advice not like", value, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceIn(List<String> values) {
            addCriterion("mdc_rec_advice in", values, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceNotIn(List<String> values) {
            addCriterion("mdc_rec_advice not in", values, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceBetween(String value1, String value2) {
            addCriterion("mdc_rec_advice between", value1, value2, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecAdviceNotBetween(String value1, String value2) {
            addCriterion("mdc_rec_advice not between", value1, value2, "mdcRecAdvice");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianIsNull() {
            addCriterion("mdc_rec_physician is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianIsNotNull() {
            addCriterion("mdc_rec_physician is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianEqualTo(String value) {
            addCriterion("mdc_rec_physician =", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianNotEqualTo(String value) {
            addCriterion("mdc_rec_physician <>", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianGreaterThan(String value) {
            addCriterion("mdc_rec_physician >", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianGreaterThanOrEqualTo(String value) {
            addCriterion("mdc_rec_physician >=", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianLessThan(String value) {
            addCriterion("mdc_rec_physician <", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianLessThanOrEqualTo(String value) {
            addCriterion("mdc_rec_physician <=", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianLike(String value) {
            addCriterion("mdc_rec_physician like", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianNotLike(String value) {
            addCriterion("mdc_rec_physician not like", value, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianIn(List<String> values) {
            addCriterion("mdc_rec_physician in", values, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianNotIn(List<String> values) {
            addCriterion("mdc_rec_physician not in", values, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianBetween(String value1, String value2) {
            addCriterion("mdc_rec_physician between", value1, value2, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecPhysicianNotBetween(String value1, String value2) {
            addCriterion("mdc_rec_physician not between", value1, value2, "mdcRecPhysician");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkIsNull() {
            addCriterion("mdc_rec_remark is null");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkIsNotNull() {
            addCriterion("mdc_rec_remark is not null");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkEqualTo(String value) {
            addCriterion("mdc_rec_remark =", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkNotEqualTo(String value) {
            addCriterion("mdc_rec_remark <>", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkGreaterThan(String value) {
            addCriterion("mdc_rec_remark >", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("mdc_rec_remark >=", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkLessThan(String value) {
            addCriterion("mdc_rec_remark <", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkLessThanOrEqualTo(String value) {
            addCriterion("mdc_rec_remark <=", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkLike(String value) {
            addCriterion("mdc_rec_remark like", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkNotLike(String value) {
            addCriterion("mdc_rec_remark not like", value, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkIn(List<String> values) {
            addCriterion("mdc_rec_remark in", values, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkNotIn(List<String> values) {
            addCriterion("mdc_rec_remark not in", values, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkBetween(String value1, String value2) {
            addCriterion("mdc_rec_remark between", value1, value2, "mdcRecRemark");
            return (Criteria) this;
        }

        public Criteria andMdcRecRemarkNotBetween(String value1, String value2) {
            addCriterion("mdc_rec_remark not between", value1, value2, "mdcRecRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}